package com.nervenets.template.controller.wealth.params;

import com.nervenets.general.exception.LogicException;
import com.nervenets.general.web.params.FormParams;
import com.nervenets.template.hibernate.domain.user.WealthFlow;
import com.nervenets.template.service.WealthFlowService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class WealthFlowFormParams extends FormParams<WealthFlow, WealthFlowService> {
    @Override
    public WealthFlow validateAndBuild(WealthFlowService service, HttpServletRequest request, HttpServletResponse response) {
        throw new LogicException("该接口不支持直接调用");
    }
}
